package org.rcy.ruicingmarket.exception;

import org.rcy.ruicingmarket.common.result.StatusCode;

/**
 * @author 吴康桥
 * @Description
 * @date 2022/12/22 11:15
 */


public class UmsException extends RuntimeException{
	private StatusCode code;
	public UmsException(String message, StatusCode code) {
		super(message);
		this.code = code;
	}

	public UmsException() {
	}

	public StatusCode getCode() {
		return code;
	}

	public void setCode(StatusCode code) {
		this.code = code;
	}
}
